package com.itrip.vo.pay;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel
public class OrderInfoVo {
    @ApiModelProperty(name="userId",value = "用户id",example = "12")
    private Integer userId;
    @ApiModelProperty(name="orderNo",value = "订单id",example = "20001596113469501")
    private String orderNo;
    @ApiModelProperty(name="linkUserName",value = "用户名",example = "aaa")
    private String linkUserName;
    @ApiModelProperty(name="checkInDate",value = "入住时间",example = "2020-07-29")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date checkInDate;
    @ApiModelProperty(name="checkOutDate",value = "离开时间",example = "2020-08-03")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date checkOutDate;
    @ApiModelProperty(name="pageNow",value = "当前页码",example = "1")
    private Integer pageNow;
    @ApiModelProperty(name="pageSize",value = "每页大小",example = "5")
    private Integer pageSize;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getLinkUserName() {
        return linkUserName;
    }

    public void setLinkUserName(String linkUserName) {
        this.linkUserName = linkUserName;
    }

    public Date getCheckInDate() {
        return checkInDate;
    }

    public void setCheckInDate(Date checkInDate) {
        this.checkInDate = checkInDate;
    }

    public Date getCheckOutDate() {
        return checkOutDate;
    }

    public void setCheckOutDate(Date checkOutDate) {
        this.checkOutDate = checkOutDate;
    }

    public Integer getPageNow() {
        return pageNow;
    }

    public void setPageNow(Integer pageNow) {
        this.pageNow = pageNow;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
